﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel

Namespace roncliProductions.LibWowArmory.Character

    ''' <summary>
    ''' A class containing information about a character's glyphs.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Glyphs

        Private colPrime As Collection(Of Glyph)
        ''' <summary>
        ''' The character's prime glyphs.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Prime As Collection(Of Glyph)
            Get
                Return colPrime
            End Get
        End Property

        Private colMajor As Collection(Of Glyph)
        ''' <summary>
        ''' The character's major glyphs.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Major As Collection(Of Glyph)
            Get
                Return colMajor
            End Get
        End Property

        Private colMinor As Collection(Of Glyph)
        ''' <summary>
        ''' The character's minor glyphs.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Minor As Collection(Of Glyph)
            Get
                Return colMinor
            End Get
        End Property

        Protected Friend Sub New(gPrime As Collection(Of Glyph), gMajor As Collection(Of Glyph), gMinor As Collection(Of Glyph))
            colPrime = gPrime
            colMajor = gMajor
            colMinor = gMinor
        End Sub

    End Class

End Namespace
